package org.sy.lab.多线程基础._4_执行器._2_Future线程控制._4_取消任务;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<String> {

	@Override
	public String call() throws Exception {
		while(true) {
            System.out.printf("Task: Test\n");
            Thread.sleep(100);
        }
	}
}
